<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
    String basePath2 = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + "/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>${titleName}TCS系统</title>
    <!-- Bootstrap -->
    <link href="<%=basePath%>vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <!-- NProgress -->
    <link href="<%=basePath%>vendors/nprogress/nprogress.css" rel="stylesheet">
    <!-- iCheck -->
    <link href="<%=basePath%>vendors/iCheck/skins/flat/green.css" rel="stylesheet">
    <!-- bootstrap-progressbar -->
    <link href="<%=basePath%>vendors/bootstrap-progressbar/css/bootstrap-progressbar-3.3.4.min.css" rel="stylesheet">
    <!-- JQVMap -->
    <link href="<%=basePath%>vendors/jqvmap/dist/jqvmap.min.css" rel="stylesheet"/>
    <!-- bootstrap-daterangepicker -->
    <link href="<%=basePath%>vendors/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet">
    <!-- Custom Theme Style -->
    <link href="<%=basePath%>build/css/custom.min.css" rel="stylesheet">
</head>
<style type="text/css">
    .sbd_menu {
        height: 100%;
        overflow-y: auto;
        padding-right: 0;
        padding-left: 0;
    }

    .sbd_menu::-webkit-scrollbar {
        width: 3px;
        height: 5px;
    }

    .sbd_menu::-webkit-scrollbar-thumb {
        border-radius: 5px;
        background: rgb(115, 188, 199);
    }

    .sbd_menu::-webkit-scrollbar-track {
        border-radius: 0;
        background: rgba(71, 167, 40, 0.2);
    }
</style>
<body class="nav-md">
<%@ include file="loginCheck.jsp" %>
<div class="container body">
    <div class="main_container">
        <div class="col-md-3 left_col sbd_menu">
            <div class="left_col scroll-view">
                <div class="navbar nav_title" style="border: 0;">
                    <a href="javascript:void(0)" onclick="changeit('content_home')"
                       class="site_title"><i class="fa fa-phone"></i> <span>TCS系统</span></a>
                </div>
                <div class="clearfix"></div>
                <!-- menu profile quick info -->
                <div class="profile clearfix">
                    <div class="profile_pic">
                        <c:if test="${agentLogo == null}">
                            <img style="cursor: pointer;" src="<%=basePath%>images/team/3.jpg" alt="账户信息"
                                 class="img-circle profile_img"
                                 onclick="changeit('allocations_index')">
                        </c:if>
                        <c:if test="${agentLogo != null}">
                            <img style="cursor: pointer;" src="${agentLogo}" alt="账户信息"
                                 class="img-circle profile_img"
                                 onclick="changeit('allocations_index')">
                        </c:if>

                    </div>
                    <div class="profile_info">
                        <c:if test="${adminUsergrade == 0 }">
                            <span>欢迎 管理员，</span>
                        </c:if>
                        <c:if test="${adminUsergrade == 1 }">
                            <span>欢迎 流量代理，</span>
                        </c:if>
                        <c:if test="${adminUsergrade == 2 }">
                            <span>欢迎 商家，</span>
                        </c:if>
                        <c:if test="${adminUsergrade == 3 }">
                            <span>欢迎 开发者，</span>
                        </c:if>
                        <c:if test="${adminUsergrade == 4 }">
                            <span>欢迎 用户，</span>
                        </c:if>
                        <h2>${userNick}</h2>
                    </div>
                </div>
                <!-- /menu profile quick info -->

                <br/>

                <!-- sidebar menu -->
                <!-- sidebar menu -->
                <c:if test="${adminUsergrade != 6 }">
                    <div id="sidebar-menu"
                         class="main_menu_side hidden-print main_menu">
                        <div class="menu_section">
                            <ul class="nav side-menu">
                                <li><a><i class="fa fa-home"></i> 首页 <span
                                        class="fa fa-chevron-down"></span></a>
                                    <ul class="nav child_menu">
                                        <c:if test="${isLTH == 1}">
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('content_home_lth')">首页</a></li>
                                        </c:if>
                                        <c:if test="${isLTH != 1}">
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('content_home')">首页</a></li>
                                        </c:if>
                                        <c:if test="${adminUsergrade == 0  }">
                                            <li class="sub_menu"><a href="javascript:void(0)"
                                                                    onclick="changeit('porder_index')">返利账户</a></li>
                                        </c:if>
                                        <c:if test="${adminUsergrade == 0  }">
                                            <li><a href="javascript:void(0)"
                                                   onclick="jumUrl('https://sbd.sbdznkj.com/management/#/serverList')">回调设置</a>
                                            </li>
                                        </c:if>
                                        <c:if test="${adminUsergrade < 2 }">
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('dial_index')">回拨号码</a></li>
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('JPushIndex')">推送信息</a></li>
                                            <c:if test="false">
                                                <li><a href="javascript:void(0)"
                                                       onclick="changeit('content_xiaoxizhongxin')">消息中心</a></li>
                                            </c:if>
                                        </c:if>
                                        <c:if test="${adminUsergrade < 3 }">
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('abouts_index')">联系我们</a></li>
                                        </c:if>
                                        <c:if test="${adminUsergrade < 2 }">
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('helpIndex')">反馈中心</a></li>
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('noticesIndex')">帮助中心</a></li>
                                        </c:if>
                                    </ul>
                                </li>
                                <li><a><i class="fa fa-address-card-o"></i> 数据统计 <span
                                        class="fa fa-chevron-down"></span></a>
                                    <ul class="nav child_menu">
                                            <%--                                    <li><a>消费统计<span class="fa fa-chevron-down"></span></a>--%>
                                            <%--                                        <ul class="nav child_menu">--%>
                                            <%--                                            <li><a href="javascript:void(0)"--%>
                                            <%--                                                   onclick="changeit('shopStatisticsIndex')">购物统计</a></li>--%>
                                            <%--                                        </ul>--%>
                                            <%--                                    </li>--%>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('rechargeStatistics')">充值统计</a></li>
                                            <%--                                    <c:if test="${adminUserId == '58162318-deca-4442-8e38-743b7729aa5b'}">--%>
                                            <%--                                        <li><a href="javascript:void(0)"--%>
                                            <%--                                               onclick="changeit('advBrowse')">广告浏览</a></li>--%>
                                            <%--                                    </c:if>--%>
                                    </ul>
                                </li>

                                <li><a><i class="fa fa-smile-o"></i> 企业管家 <span
                                        class="fa fa-chevron-down"></span></a>
                                    <ul class="nav child_menu">
                                        <c:if test="${adminUsergrade < 2 }">
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('content_oemguanli')">流量代理管理</a></li>
                                            <c:if test="${adminUsergrade == 0}">
                                                <li><a href="javascript:void(0)"
                                                       onclick="changeit('content_oemchongzhi')">流量代理充值</a></li>
                                            </c:if>
                                        </c:if>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('content_shangjiaguanli')">商家管理</a></li>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('content_dailiguanli')">代理管理</a></li>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('content_yonghuguanli')">用户管理</a></li>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('index_STSubscribers')">用户操作</a></li>
                                    </ul>
                                </li>

                                <li><a><i class="fa fa-shopping-basket"></i> 商城管理 <span
                                        class="fa fa-chevron-down"></span></a>
                                    <ul class="nav child_menu">
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('commodity/commodityIndex')">商品信息</a></li>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('commodityReferrer/commodityReferrerIndex')">商品推荐</a></li>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('commodityClassify/commodityClassifyIndex')">商品分类</a></li>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('slideshow/slideshowIndex')">首页轮播图</a></li>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('commodityCallPlan/commodityCallPlanIndex')">话费礼包</a></li>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('selfOrder/selfOrderIndex')">商品订单</a></li>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('selfAddress/selfAddressIndex')">收货地址管理</a></li>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('selfOrderComment/selfOrderCommentIndex')">商品晒单</a></li>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('selfApplyRefund/selfApplyRefundIndex')">退款审核</a></li>
                                    </ul>
                                </li>

                                <li><a><i class="fa fa-shopping-basket"></i>拼团管理<span
                                        class="fa fa-chevron-down"></span></a>
                                    <ul class="nav child_menu">
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('release_config_index')">分销设置管理</a></li>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('ptIntegral')">积分明细管理</a></li>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('ptCurrentIndex')">拼团记录管理</a></li>
                                    </ul>
                                </li>

                                <li><a><i class="fa fa-shopping-basket"></i>积分管理<span
                                        class="fa fa-chevron-down"></span></a>
                                    <ul class="nav child_menu">
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('merchantCollectionImage')">收款二维码管理</a></li>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('ptintegralRecharge')">积分充值审核</a></li>
                                    </ul>
                                </li>

                                <li><a><i class="fa fa-bar-chart-o"></i> 报表管理 <span
                                        class="fa fa-chevron-down"></span></a>
                                    <ul class="nav child_menu">
                                            <%--                                    <c:if test="${adminUserId == '58162318-deca-4442-8e38-743b7729aa5b'}">--%>
                                            <%--                                        <li><a href="javascript:void(0)"--%>
                                            <%--                                               onclick="changeit('hv_member')">海威会员权限订单</a></li>--%>
                                            <%--                                        <li><a href="javascript:void(0)"--%>
                                            <%--                                               onclick="changeit('content_gasorder')">API油站订单</a></li>--%>
                                            <%--                                        <li><a href="javascript:void(0)"--%>
                                            <%--                                               onclick="changeit('content_gasorderH5')">H5油站订单</a></li>--%>
                                            <%--                                    </c:if>--%>
                                            <%--                                    <li><a href="javascript:void(0)"--%>
                                            <%--                                           onclick="changeit('memberOrder')">会员发货单</a></li>--%>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('content_recharge')">充值报表</a></li>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('content_tonghuabaobiao')">通话报表</a></li>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('content_huadanxiangqing')">话单详情</a></li>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('content_zhucebaobiao')">注册报表</a></li>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('content_yanzhengmabaobiao')">验证码报表</a></li>
                                        <c:if test="${adminUsergrade < 2  }">
                                            <c:if test="${adminAddcard == true}">
                                                <li><a href="javascript:void(0)"
                                                       onclick="changeit('content_kaikabaobiao')">开卡报表</a></li>
                                            </c:if>
                                        </c:if>
                                        <c:if test="${adminUsergrade < 3  }">
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('content_huabobaobiao')">划拨报表</a></li>
                                        </c:if>
                                        <c:if test="${adminUsergrade < 2  }">
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('content_huishoubaobiao')">回收报表</a></li>
                                        </c:if>
                                            <%--                                    <c:if test="${adminUserId == '3f693ad78cb24109a08b0732c3f3fcd1'}">--%>
                                            <%--                                        <li><a href="javascript:void(0)"--%>
                                            <%--                                               onclick="changeit('rebateOrdersIndex')">订单报表</a></li>--%>
                                            <%--                                        <li><a href="javascript:void(0)"--%>
                                            <%--                                               onclick="changeit('rebateDisIndex')">分销报表</a></li>--%>
                                            <%--                                    </c:if>--%>
                                    </ul>
                                </li>
                                <li><a><i class="fa fa-shopping-basket"></i> 金额管理 <span
                                        class="fa fa-chevron-down"></span></a>
                                    <ul class="nav child_menu">
                                        <li><a href="javascript:void(0)"
                                               onclick="jumpUrl('<%=basePath2%>management/#/sbdlist')">金额明细</a></li>
                                            <%--                                    <li><a href="javascript:void(0)"--%>
                                            <%--                                           onclick="jumpUrl('http://jtx.sbdznkj.com/management/#/ipflist')">IPF明细</a></li>--%>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('ipfsbdIndex',100)">提现审核</a></li>
                                    </ul>
                                </li>
                                <li><a><i class="fa fa-desktop"></i> 用户端控制 <span
                                        class="fa fa-chevron-down"></span></a>
                                    <ul class="nav child_menu">
                                        <li><a>广告管理<span class="fa fa-chevron-down"></span></a>
                                            <ul class="nav child_menu">
                                                <li class="sub_menu"><a href="javascript:void(0)"
                                                                        onclick="changeit('content_badamokuai')">八大模块</a>
                                                </li>
                                                <li class="sub_menu"><a href="javascript:void(0)"
                                                                        onclick="changeit('carousel_index')">轮播广告</a></li>
                                                <li class="sub_menu"><a href="javascript:void(0)"
                                                                        onclick="changeit('content_zaixianchongzhi')">在线充值</a>
                                                </li>
                                                <li class="sub_menu"><a href="javascript:void(0)"
                                                                        onclick="changeit('otherIndex')">淘商城广告</a></li>
                                                <c:if test="${adminUsergrade == 0  }"><li class="sub_menu"><a href="javascript:void(0)"
                                                                                                              onclick="changeit('urgentIndex')">紧急控制</a></li>
                                                </c:if>

                                                    <%--OEM中添加紧急控制--%>
                                                    <%--                                            <c:if test="${adminUsergrade == 1  }">--%>
                                                    <%--                                                <li class="sub_menu"><a href="javascript:void(0)"--%>
                                                    <%--                                                                        onclick="changeit('urgentIndex')">紧急控制</a></li>--%>
                                                    <%--                                            </c:if>--%>


                                            </ul>
                                        </li>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('rollIndex')">滚动文字</a></li>
                                            <%--<li><a href="javascript:void(0)"--%>
                                            <%--onclick="changeit('dialogBoxIndex')">对话文字</a></li>--%>
                                        <li><a>企业动态<span class="fa fa-chevron-down"></span></a>
                                            <ul class="nav child_menu">
                                                <li><a href="javascript:void(0)"
                                                       onclick="changeit('content_qiyedongtai')">企业动态</a></li>
                                                <li><a href="javascript:void(0)"
                                                       onclick="changeit('companyClassifyIndex')">方案分类</a></li>
                                                <li><a href="javascript:void(0)"
                                                       onclick="changeit('companyCarouselIndex')">方案轮播</a></li>
                                                <li><a href="javascript:void(0)"
                                                       onclick="changeit('companyArticleIndex')">方案文章</a></li>
                                            </ul>
                                        </li>
                                    </ul>
                                </li>

                                <li><a><i class="fa fa fa-table"></i> 财务管理 <span
                                        class="fa fa-chevron-down"></span></a>
                                    <ul class="nav child_menu">
                                        <c:if test="${adminUsergrade == 0 }">
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('content_oem')">OEM管理</a></li>
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('content_xianluxiaohao')">线路消耗</a></li>
                                        </c:if>
                                            <%--                                    <c:if test="${adminUserId == 'a6b818fa0a4b4b7c97da4bff24ff1d6a'}">--%>
                                            <%--                                        <li><a>在线充值返佣<span class="fa fa-chevron-down"></span></a>--%>
                                            <%--                                            <ul class="nav child_menu">--%>
                                            <%--                                                <li><a href="javascript:void(0)"--%>
                                            <%--                                                       onclick="changeit('rechargeprofit')">在线充值返佣</a></li>--%>
                                            <%--                                            </ul>--%>
                                            <%--                                        </li>--%>
                                            <%--                                    </c:if>--%>
                                        <c:if test="${adminUsergrade < 2  }">
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('content_chongzhikajilv',2)">充值卡记录</a></li>
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('refund')">退款审核</a></li>
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('content_caiwuzhanghao')">财务账号</a></li>
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('withdrawIndex')">提现管理</a></li>
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('rebateOrders')">淘客订单</a></li>
                                        </c:if>
                                        <c:if test="${adminUsergrade < 3  }">
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('trafficCard')">大王卡</a></li>
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('content_caiwuxinxi')">财务信息</a></li>
                                        </c:if>
                                    </ul>
                                </li>

                                <c:if test="${adminUsergrade == 0}">
                                    <li><a><i class="fa fa-newspaper-o"></i> 新闻管理<span
                                            class="fa fa-chevron-down"></span></a>
                                        <ul class="nav child_menu">
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('content_xinwenliebiao')">新闻列表</a></li>
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('content_xinwenfenlei')">新闻分类</a></li>
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('content_xinwenguanggao')">新闻广告</a></li>
                                        </ul>
                                    </li>
                                </c:if>

                                <li><a><i class="fa fa-wpforms"></i> 新手课堂 <span
                                        class="fa fa-chevron-down"></span></a>
                                    <ul class="nav child_menu">
                                        <c:if test="${adminUsergrade == 1}">
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('noviceListIndex')">内容详情</a></li>
                                        </c:if>
                                    </ul>
                                </li>
                            </ul>
                        </div>
                        <div class="menu_section">
                            <h3>财务管理</h3>
                            <ul class="nav side-menu">
                                <li><a><i class="fa fa-clock-o"></i> 充值管理 <span
                                        class="fa fa-chevron-down"></span></a>
                                    <ul class="nav child_menu">
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('content_chongzhikaguanli')"> 卡密管理 </a></li>
                                        <c:if test="${adminUsergrade < 2  }">
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('content_kaika')"> 卡密生成 </a></li>
                                            <c:if test="${adminUsergrade == 0 }">
                                                <li><a href="javascript:void(0)"
                                                       onclick="changeit('content_splitRechargeCards')">划拨卡号段和批次号</a></li>
                                            </c:if>
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('content_feilvguanli')"> 费率管理 </a></li>
                                        </c:if>
                                    </ul>
                                </li>
                                <li><a><i class="fa fa-jpy"></i> 快速充值 <span
                                        class="fa fa-chevron-down"></span></a>
                                    <ul class="nav child_menu">
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('content_kongzhongchongzhi')"> 空中充值 </a></li>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('content_kamianchongzhi')"> 卡号充值 </a></li>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('content_chongzhibaobiao')"> 充值报表 </a></li>

                                    </ul>
                                </li>
                                <!-- <li><a><i class="fa fa-sitemap"></i> 合伙人 <span
                                        class="fa fa-chevron-down"></span></a>
                                    <ul class="nav child_menu">
                                        <li><a href="javascript:void(0)"
                                            onclick="changeit('content_hehuorenshouyiduankou')">合伙人收益端口</a>
                                    </ul></li> -->

                            </ul>
                        </div>

                    </div>
                </c:if>
                <c:if test="${adminUsergrade == 6 }">
                    <div id="sidebar-menu"
                         class="main_menu_side hidden-print main_menu">
                        <div class="menu_section">
                            <ul class="nav side-menu">
                                <li><a><i class="fa fa-home"></i> 首页 <span
                                        class="fa fa-chevron-down"></span></a>
                                    <ul class="nav child_menu">
                                        <c:if test="${isLTH == 1}">
                                            <li><a href="javascript:void(0)"
                                                   onclick="changeit('content_home_lth')">首页</a></li>
                                        </c:if>
                                    </ul>
                                </li>

                                <li><a><i class="fa fa-shopping-basket"></i> 商城管理 <span
                                        class="fa fa-chevron-down"></span></a>
                                    <ul class="nav child_menu">
                                     <%--   <li><a href="javascript:void(0)"
                                               onclick="changeit('commodity/commodityIndex')">商品信息</a></li>--%>
                                        <li><a href="javascript:void(0)"
                                               onclick="changeit('selfOrder/selfOrderIndex')">商品订单</a></li>
                                    </ul>
                                </li>
                            </ul>
                        </div>
                    </div>
                </c:if>
                <!-- /menu footer buttons -->
                <div class="sidebar-footer hidden-small">
                    <a data-toggle="tooltip" data-placement="top" title="注销登陆"
                       href="login/${titleId }"> <span
                            class="glyphicon glyphicon-off" aria-hidden="true"></span>
                    </a>
                </div>
                <!-- /menu footer buttons -->
            </div>
        </div>

        <!-- top navigation -->
        <div class="top_nav">
            <div class="nav_menu">
                <nav>
                    <ul class="nav navbar-nav navbar-right">
                        <li><a href="javascript:void(0);"
                               class="user-profile dropdown-toggle" data-toggle="dropdown"
                               aria-expanded="false">
                            <c:if test="${agentLogo == null}">
                                <img src="<%=basePath%>images/team/3.jpg" alt="">${userNick}
                            </c:if>
                            <c:if test="${agentLogo != null}">
                                <img src="${agentLogo}" alt="">${userNick}
                            </c:if>
                            <span class=" fa fa-angle-down"></span>
                        </a>
                            <ul class="dropdown-menu dropdown-usermenu pull-right">
                                <li><a href="javascript:void(0)"
                                       onclick="changeit('allocations_index')">账户信息</a></li>
                                <li><a href="javascript:void(0)"
                                       onclick="changeit('content_xiugaimima')">修改密码</a></li>
                                <li><a href="login/${titleId }"><i
                                        class="fa fa-sign-out pull-right"></i>注销</a></li>
                            </ul>
                        </li>
                    </ul>
                </nav>
            </div>
        </div>
        <!-- /top navigation -->

        <!-- page content -->
        <div id="iframe_box" class="Hui-article" role="main"
             style="width: 100%; height: 100%;">
            <div class="show_iframe">
                <div style="display: block" class="loading"></div>
                <iframe id="iframe_content" scrolling="auto" frameborder="0"
                        src="<%=basePath%>admin/content_home"
                        style="width: 100%; height: 830px;"></iframe>
            </div>
        </div>
        <!-- page content -->

        <!-- footer content -->
        <footer>
            <div class="pull-right">
                欢迎使用${titleName }TCS后台数据管理系统 <a href="#" target="_blank" title="${titleName }">${titleName }</a> -
                Collect from <a href="#" title="${titleName }官网" target="_blank">${titleName }TCS系统</a>
            </div>
            <div class="clearfix"></div>
        </footer>
    </div>
</div>

<!-- jQuery -->
<script src="<%=basePath%>vendors/jquery/dist/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="<%=basePath%>vendors/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- FastClick -->
<script src="<%=basePath%>vendors/fastclick/lib/fastclick.js"></script>
<!-- NProgress -->
<script src="<%=basePath%>vendors/nprogress/nprogress.js"></script>
<!-- Chart.js -->
<script src="<%=basePath%>vendors/Chart.js/dist/Chart.min.js"></script>
<!-- Custom Theme Scripts -->
<script src="<%=basePath%>build/js/custom.min.js"></script>

</body>
<script>
    function jumpUrl(url) {
        window.frames[0].location.href = url;
    }

    function changeit(url, type) {
        if (url == "content_kaika" && ${adminAddcard} == false) {
            alert("没有开卡权限");
            return false;
        }
        if (url == "content_kongzhongchongzhi" && ${adminAirreCharge} == 0) {
            alert("没有空中充值权限");
            return false;
        }
        if (url == "content_caiwuxinxi" && ${theme} == "0") {
            alert("没有查看权限");
            return false;
        }
        <%--if (url == "trafficCard" && ${theme} == "0") {--%>
        <%--alert("没有查看权限");--%>
        <%--return false;--%>
        <%--}--%>
        if (url == "noticesIndex") {
            window.frames[0].location.href = url;
        } else {
            window.frames[0].location.href = url + "?type=" + type;
        }
    }
</script>
<script>
    $(function () {
        $("#iframe_content").css({height: $(window).height() - 139});
    })
</script>
</html>
